import 'package:bashu/HomePage/home_page.dart';
import 'package:flutter/material.dart';

class CenterPage extends StatefulWidget {
  @override
  _CenterPageState createState() => _CenterPageState();
}

class _CenterPageState extends State<CenterPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Padding(
        padding: EdgeInsets.all(MediaQuery.of(context).padding.top),
        child: Container(
          width: MediaQuery.of(context).size.width -
              MediaQuery.of(context).padding.left -
              MediaQuery.of(context).padding.right,
          height: MediaQuery.of(context).size.height -
              MediaQuery.of(context).padding.bottom -
              MediaQuery.of(context).padding.top,
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              TopBar(),
            ],
          ),
        ),
      ),
    );
  }
}
